#-*- encoding:utf-8 -*-
'''
Created on 2010-12-16

@author: Administrator
'''
from flask import Flask, request, redirect, url_for
from Views import *
from config import *
app = Flask(__name__)
app.register_module(blogview)
app.register_module(adminview,url_prefix='/godsystem')
app.secret_key = SECRET_KEY

if __name__ == '__main__':
    app.debug = DEBUG
    app.run('127.0.0.1', 8080)
